
package com.amigo.online.provider.merchant.model.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.ibatis.type.Alias;

/**
 * <code>MerchantManager</code>
 * <p>
 * : 管理员实体类
 * </p>
 * <p>
 *
 * @author LuChen
 * @version 1.0
 * @company Amigo
 * @time 2018年12月21日 下午3:42:31
 * @lastUpdate 无
 * </p>
 */
@Table(name = "merchant_manager_tbl")
@Alias("MerchantManager")
public class MerchantManager implements Serializable {

    private static final long serialVersionUID = -1563979306634371221L;

    @Id
    @GeneratedValue(generator = "JDBC")
    private Long id;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "merchant_id")
    private Long merchantId;

    @Column(name = "quit")
    private Integer quit;

    @Column(name = "quit_time")
    private Long quitTime;

    @Column(name = "created_time")
    private Long createdTime;

    @Transient
    private String avatar;

    @Transient
    private String nickname;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getQuit() {
        return quit;
    }

    public void setQuit(Integer quit) {
        this.quit = quit;
    }

    public Long getQuitTime() {
        return quitTime;
    }

    public void setQuitTime(Long quitTime) {
        this.quitTime = quitTime;
    }

    public Long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Long createdTime) {
        this.createdTime = createdTime;
    }

}

